import axios from 'axios';
//获取歌手列表
export const reqSingerList = ({ limit, type, area }) => {
  return axios({
    method: 'GET',
    url: `/api/artist/list?limit=${limit || ' 100'}&type=${type || '-1'}&area=${area || '-1'}`,
  });
};
//获取歌手详情
export const reqSinger = (id) => {
  return axios({
    method: 'GET',
    url: `/api/artist/detail?id=${id}`,
  });
};
//获取歌手热门50首歌曲
export const reqSongs = (id) => {
  return axios({
    method: 'GET',
    url: `/api/artist/top/song?id=${id}`,
  });
};
